package cn.aylog.pojo;

import lombok.Data;

import java.io.Serializable;

@Data
public class Account implements Serializable {
    private Long id;
    private String username;
    private String password;
    private String oldPassword;
    private String newPassword;
    private String confirmPassword;
    private String name;

    public Account(Long id, String username, String password, String oldPassword, String newPassword, String confirmPassword, String name) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.oldPassword = oldPassword;
        this.newPassword = newPassword;
        this.confirmPassword = confirmPassword;
        this.name = name;
    }

    public Account() {
    }
}
